package com.jzg.sys.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 极光设备
 * </p>
 *
 * @author lzp
 * @since 2019-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("BASE_JPUSH_DEVICE")
public class BaseJpushDevice extends Model<BaseJpushDevice> {

    private static final long serialVersionUID = 1L;

    /**
     * 设备ID
     */
    @TableId("JPUSH_DEVICE_ID")
    private String jpushDeviceId;

    @TableField("REGISTRATION_ID")
    private String registrationId;

    @TableField("TAGS")
    private String tags;

    @TableField("ALIAS")
    private String alias;

    @TableField("MOBILE")
    private String mobile;

    @TableField("PLATFORM")
    private String platform;

    /**
     * 录入人ID
     */
    @TableField("INPUTER")
    private String inputer;

    /**
     * 录入人ID
     */
    @TableField("INPUTE_NAME")
    private String inputeName;

    /**
     * 录入时间
     */
    @TableField("INPUT_TIME")
    private Date inputTime;

    /**
     * 修改人姓名
     */
    @TableField("UPDATE_NAME")
    private String updateName;

    /**
     * 修改人ID
     */
    @TableField("UPDATER")
    private String updater;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

    /**
     * 系统编码
     */
    @TableField("SYS_CODE")
    private String sysCode;

    /**
     * 系统名称
     */
    @TableField("SYS_NAME")
    private String sysName;

    /**
     * 用户ID
     */
    @TableField("SEC_USER_ID")
    private String secUserId;


    @Override
    protected Serializable pkVal() {
        return this.jpushDeviceId;
    }

}
